package com.itheima.xmy;

public abstract class MathTest implements Calculator {
    private int a;
    private int b;

    public MathTest(int a, int b) {
        this.a = a;
        this.b = b;
    }

    public int getA() {
        return a;
    }

    public void setA(int a) {
        this.a = a;
    }

    public int getB() {
        return b;
    }

    public void setB(int b) {
        this.b = b;
    }

    @Override
    public int calculator() {
        return 0;
    }
     abstract String getQuestion();
}
